import request from '@/utils/request.js'
/**
 * 登录接口
 * @param {Object} data
 * @returns pomimres
 */
export const login = data => {
  return request({
    method: 'POST',
    url: '/login',
    data
  })
}
